package com.second.service.impl;

import com.second.mapper.FGoodsPictureMapper;
import com.second.model.pojo.FGoodsPicture;
import com.second.service.IFGoodsPictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 本类用来演示:
 *
 * @author: MuTing
 * @date: 2022-05-25 20:29
 */
@Service
public class FGoodsPictureServiceImpl implements IFGoodsPictureService {

    @Autowired
    private FGoodsPictureMapper goodsPictureMapper;

    @Override
    public FGoodsPicture getGoodsPictureByGoodId(Integer goodId) {
        return goodsPictureMapper.getById(goodId);
    }
}
